package com.cxyd.modules.wms.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cxyd.common.dao.BaseDao;
import com.cxyd.modules.wms.entity.OrderEntity;
import com.cxyd.modules.wms.entity.PurchaseEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 出库主单
 *
 * @author g_Cycle gengruyi01@163.com
 * @since 1.0.0 2023-04-27
 */
@Mapper
public interface OrderDao extends BaseDao<OrderEntity> {
    IPage<OrderEntity> selectViewPage(IPage<OrderEntity> page, @Param("ew") Wrapper<OrderEntity> queryWrapper);

    List<OrderEntity> selectForBackup(@Param("date") Date date, @Param("num") Integer num);
}